import Vue from 'vue'
import Router from 'vue-router'
import BookList from '@/components/BookList'
import Gx from "../components/Gx";
import BookAdd from "../components/BookAdd";


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'BookList',
      component: BookList
    },
    {
      path: '/Gx',
      name: 'Gx',
      component: Gx
    },
    {
      path: '/BookAdd',
      name: 'BookAdd',
      component: BookAdd
    }
  ]
})
